<input id="lookup_enttype" name="enttype_id" class="mini-lookup" valueField="code" textField="name" popupWidth="auto"
       popup="#gridPanel_enttype" grid="#datagrid_enttype" allowInput="false"/>

<div id="gridPanel_enttype" class="mini-panel" title="header" iconCls="icon-add" style="width:360px;height:300px;display: none;"
     showToolbar="true" showCloseButton="true" showHeader="false" bodyStyle="padding:0;" borderStyle="border:0">
    <div property="toolbar" class="lookuptoolbar">
        <div style="float:left;padding-bottom:2px;">
            <span>查找：</span>
            <input id="keyText_enttype" class="mini-textbox" style="width:150px;" onenter="onSearchClick_enttype"/>
            <a class="mini-button input-bt" onclick="onSearchClick_enttype" plain="true">查询</a>
        </div>
        <div style="float:right;padding-bottom:2px;">
            <a class="mini-button input-bt" onclick="onClearClick_enttype" plain="true">清除</a>
            <a class="mini-button input-bt" onclick="onCloseClick_enttype" plain="true">确认</a>
        </div>
        <div style="clear:both;"></div>
    </div>

    <div id="datagrid_enttype" class="mini-treegrid" style="width:100%;height:100%;" borderStyle="border:0"
         showPageSize="false" showPageIndex="false" url="/loadnode/?method=enttype"
         showTreeIcon="true" idField="code" parentField="parent" treeColumn="chanyelian">
        <div property="columns">
            <div type="checkcolumn"></div>
            <div name="chanyelian" field="name" width="150">企业类型</div>
            <div field="level" width="20">级别</div>
        </div>
    </div>
</div>
